#!/bin/bash
 
source make_sandbox.cfg
 
IFS=$'\n';

echo '# step 3: disable caching plugins, if any >>> BEGIN'; 
# ============================================================
# step 3: disable caching plugins, if any
# ============================================================
if [ -d ${DESTINATION_FOLDER}wp-content/plugins/wp-super-cache/ ]; then
	echo "renaming caching plugin ${DESTINATION_FOLDER}wp-content/plugins/wp-super-cache/";
	mv ${DESTINATION_FOLDER}wp-content/plugins/wp-super-cache ${DESTINATION_FOLDER}wp-content/plugins/_wp-super-cache
fi

echo '# step 3: disable caching plugins, if any >>> END'; 
